package com.ziwei.material;

import com.ziwei.material.config.MinIoProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan("com.ziwei.material.mapper")
@EnableAsync      //开启异步请求
@EnableConfigurationProperties(MinIoProperties.class)
public class Application  {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}

